package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 证书发放
 */
@Data
@Document(collection = "ca_grant")
public class CaGrant  extends EntityBase {

    public static final String grant = "grant";
    //未发放
    public static final String un_grant = "un_grant";

    /**
     * 活动ID
     */
    @Indexed
    private String activityId;

    /**
     * 活动名称
     */
    private String activityName;

    private CaTemplate caTemplate;

    private String caName;

    private String caLevel;

    private String status = un_grant;


}
